package de.baumann.browser.web;

import android.graphics.Bitmap;
import android.view.View;

import com.tencent.smtt.export.external.interfaces.IX5WebChromeClient;
import com.tencent.smtt.sdk.WebView;

public interface WebUiController {

    void onPageStarted(WebView webView, Bitmap favicon);

    void onPageFinished(String title, String url);

    void onProgressChanged(int progress);

    void onReceivedTitle(final String title);

    void goBackEnable(boolean enable);

    void goForwardEnable(boolean enable);

    void showCustomView(View view, IX5WebChromeClient.CustomViewCallback callback);

    void hideCustomView();
}
